package sk.openit.logging;

import org.apache.log4j.xml.DOMConfigurator;

public class RunApp {

	public static void main(String[] args) {
//		BasicConfigurator.configure();
		DOMConfigurator.configure("log4j.xml");
		LogExample log = new LogExample();
		log.logFatal("fatal error message", new Exception("my fatal exception"));
		log.logError("error message", new Exception("my error exception"));
		log.logWarning("warning message");
		log.logInfo("info message");
		log.logDebug("debug message");
	}

}
